package com.hifar.test.archive.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hifar.test.archive.pojo.HfEnvArchive;
import com.hifar.test.archive.pojo.HfEnvArchiveVo;

/**
 * <p>
 * 文件管理 mapper接口
 * </p>
 *
 * @author wangkepeng
 * @since 2024-12-09 15:10:00
 */
@Mapper
public interface HfEnvArchiveMapper extends BaseMapper<HfEnvArchive> {

    @Select("select * from  HF_ENV_ARCHIVE   ${ew.customSqlSegment}")
    List<HfEnvArchiveVo> selectHfEnvArchiveVoList(@Param(Constants.WRAPPER) QueryWrapper wrapper);


    @Select(" select * from  HF_ENV_ARCHIVE   ${ew.customSqlSegment} ")
    Page<HfEnvArchiveVo> selectHfEnvArchiveVoPage(Page<HfEnvArchiveVo> rowPage, @Param(Constants.WRAPPER) QueryWrapper wrapper);


}